<#include "/templates/taglibs.ftl" />
<#include "/templates/function.ftl" />
<#assign pageName="错误提示">
<!DOCTYPE html>
<html>
    <head>
        <title>${SystemName} - ${pageName}</title>
        <meta name="keywords" content="${keywords}" />
        <meta name="description" content="${description}" />
        <meta charset="utf-8">
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">
        <link rel="stylesheet" href="${contextPath}/assets/plugins/layui/css/layui.css" media="all" />
        <link rel="stylesheet" href="${contextPath}/assets/plugins/font-awesome/css/font-awesome.min.css">
        <link rel="stylesheet" href="${contextPath}/assets/css/global.css" media="all">
        <link rel="stylesheet" href="${contextPath}/assets/css/main.css" media="all">

        <style type="text/css">
            div.trInstead {background-color: #f5f5f5; border: 1px solid #ddd; margin-top: -1px;}
            div.tdLeftTextInstead {padding: 8px; line-height: 1.42857143; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
            div.tdRightTextInstead {border-left: 1px solid #ddd;}
            div.tdValueInstead {padding: 8px; line-height: 1.42857143; border-left: 1px solid #ddd;  background-color: #ffffff;}
        </style>
    </head>
    <body class="no-skin">
       <div class="main-container" id="main-container">
           <div class="page-content">
                <#if (resultMsg?has_content)>
                    <div style="text-align:center;">
                        <span style="color:red;font-weight:bold;font-size:16px;">${resultMsg}</span>
                    </div>
                <#else>
                    <div class="page-header">
                        <h1>
                            ${pageName}
                        </h1>
                    </div><!-- /.page-header -->
                
                    <div class="row">
                        <div class="col-xs-12" style="margin:0 auto; float:unset;">
                            <div class="col-xs-12 no-padding trInstead">
                                <div class="col-xs-2 col-sm-2 text-right h5 no-margin tdLeftTextInstead">
                                    <b>操作建议：</b>
                                </div>
                                <div class="col-xs-10 col-sm-10 h5 no-margin tdValueInstead">
                                    <span style="color:red;">
                                        将该页面截图发给系统管理员！
                                    </span>
                                </div>
                            </div>
                            <div class="col-xs-12 no-padding trInstead">
                                <div class="col-xs-2 col-sm-2 text-right h5 no-margin tdLeftTextInstead">
                                    <b>发生时间：</b>
                                </div>
                                <div class="col-xs-10 col-sm-10 h5 no-margin tdValueInstead">
                                    <span>
                                        ${.now}
                                    </span>
                                </div>
                            </div>
                            <div class="col-xs-12 no-padding trInstead">
                                <div class="col-xs-2 col-sm-2 text-right h5 no-margin tdLeftTextInstead">
                                    <b>错误路径：</b>
                                </div>
                                <div class="col-xs-10 col-sm-10 h5 no-margin tdValueInstead">
                                    <span>
                                        ${errorURL}
                                    </span>
                                </div>
                            </div>
                            <div class="col-xs-12 no-padding trInstead">
                                <div class="col-xs-2 col-sm-2 text-right h5 no-margin tdLeftTextInstead">
                                    <b>错误详情：</b>
                                </div>
                                <div class="col-xs-10 col-sm-10 h5 no-margin tdValueInstead">
                                    <span>
                                        ${(errorMsg!"")?replace("\r\n", "<br>")?replace("\t", "　　")}
                                    </span>
                                </div>
                            </div>
                        </div>
                    </div>
                </#if>
           </div>
       </div>
       <!--[if !IE]> -->
       <script type="text/javascript">
            window.jQuery || document.write("<script src='${contextPath}/assets/js/jquery.min.js'>"+"<"+"/script>");
       </script>
       <!-- <![endif]-->
        
       <!--[if IE]>
       <script type="text/javascript">
            window.jQuery || document.write("<script src='${contextPath}/assets/js/jquery1x.min.js'>"+"<"+"/script>");
       </script>
       <![endif]-->
       <script src="${contextPath}/assets/js/public.js"></script>
    </body>
</html>
